var   usr = process.argv[2],
      pwd = process.argv[3];
      
console.log('username: %s\npassword: %s', usr, pwd);
const buf = Buffer.from(usr + ':' + pwd);
console.log('Base64:', buf.toString('Base64'));